@import '~scss/variables';

.tools {
  position: fixed;
  right: 15px;
  bottom: 70px;
  z-index: $kube-tools-z-index;
  line-height: 36px;
  text-align: center;
  width: 36px;
  height: 36px;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1)),
    linear-gradient(to bottom, #329dce, #329dce);
  border-radius: 50%;
  color: $white;
  cursor: pointer;
  transition: right $trans-speed cubic-bezier(0.175, 0.35, 0.32, 1);
  * {
    user-select: none;
  }

  @at-root {
    .toolsNavContainer {
      position: absolute;
      bottom: 70%;
      right: 0;
      padding-bottom: 20px;
      width: 370px;
    }
    .toolsNav {
      text-align: left;
      padding: 20px;
      border-radius: 4px;
      box-shadow: 0 8px 16px 0 rgba(36, 46, 66, 0.2);
      background-image: linear-gradient(170deg, #59c2de, #2689b6);
      h3 {
        font-size: 16px;
        font-weight: 600;
      }
      p {
        font-size: 12px;
        line-height: 1.67;
      }
      .bulb {
        font-size: 18px;
      }
    }
    .tool {
      margin: 8px 0;
      margin-right: 12px;
      line-height: 40px;
      border-radius: 4px;
      background: #fff;
      position: relative;
      color: #404e68;
      padding: 0 1em;  
      .title {
        font-weight: 600;
        margin-left: .5em;
        vertical-align: middle;
      }
      .tips {
        width: 24px;
        height: 24px;
        background-color: #36435c;
        display: inline-block;
        border-radius: 50%;
        position: absolute;
        right: -13px;
        line-height: 22px;
        text-align: center;
        top: 20%;
      }
    }
  }
}
